#include<stdio.h>
int main()
{
    int a,b,c;
    scanf("%d%d%d",&a,&b,&c);
    if(a>b)
    {
        int tmp = a;
        a = b;
        b = tmp;
    }
    if(b>c)
    {
        int tmp = b;
        b = c;
        c = tmp;
    }
    if(a>b)
    {
        int tmp = a;
        a = b;
        b = tmp;
    }
    if(a+b<=c)
    {
        printf("Not triangle");
    }
    else
    {
        if(a*a+b*b>c*c)
        {
            printf("Acute triangle\n");
            if(a==b)
            {
                printf("Isosceles triangle\n");
            }
            if(a==b&&b==c)
            {
                printf("Equilateral triangle\n");
            }
        }
        else if(a*a+b*b<c*c)
        {
            printf("Obtuse triangle\n");
            if(a==b)
            {
                printf("Isosceles triangle\n");
            }
            if(a==b&&b==c)
            {
                printf("Equilateral triangle\n");
            }
        }
        else
        {
            printf("Right triangle\n");
            if(a==b)
            {
                printf("Isosceles triangle\n");
            }
        }
    }
    return 0;
}